#ifndef __DBStructure__
#define __DBStructure__

#include <iostream>

struct db_keys
{
    int id;
    std::string key;
    time_t gentime;
    time_t regtime;
    time_t duration;
    int state;
    int client_type;
};

struct db_user
{
    int  id;
    std::string name;
    std::string pass;
    std::string email;
    std::string hardwareid;
    int  key_id;
};

#endif